package com.tid.hbasees.model;

import com.tid.hbasees.utils.hbase.HBaseHelper;

/**
 * Created by tengyt on 01/06/2017.
 */
public class Network {

    private String netID;

    private String netName;

    private String netLevelID;

    private long time;

    private String netServType;

    private String netProp;

    private String netScale;

    private String netConnetLevel;

    private String netDistance;

    private int level;

    private String classVolunNode;

    public String getRowkey() {
        return time + HBaseHelper.ROWKEY_SEP + netServType + HBaseHelper.ROWKEY_SEP + netID;
    }

    public String getIndex() {
        return netServType + HBaseHelper.ROWKEY_SEP + time + HBaseHelper.ROWKEY_SEP  + netID;
    }

    public String getNetID() {
        return netID;
    }

    public void setNetID(String netID) {
        this.netID = netID;
    }

    public String getNetName() {
        return netName;
    }

    public void setNetName(String netName) {
        this.netName = netName;
    }

    public String getNetLevelID() {
        return netLevelID;
    }

    public void setNetLevelID(String netLevelID) {
        this.netLevelID = netLevelID;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public String getNetServType() {
        return netServType;
    }

    public void setNetServType(String netServType) {
        this.netServType = netServType;
    }

    public String getNetProp() {
        return netProp;
    }

    public void setNetProp(String netProp) {
        this.netProp = netProp;
    }

    public String getNetScale() {
        return netScale;
    }

    public void setNetScale(String netScale) {
        this.netScale = netScale;
    }

    public String getNetConnetLevel() {
        return netConnetLevel;
    }

    public void setNetConnetLevel(String netConnetLevel) {
        this.netConnetLevel = netConnetLevel;
    }

    public String getNetDistance() {
        return netDistance;
    }

    public void setNetDistance(String netDistance) {
        this.netDistance = netDistance;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public String getClassVolunNode() {
        return classVolunNode;
    }

    public void setClassVolunNode(String classVolunNode) {
        this.classVolunNode = classVolunNode;
    }
}
